package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

public interface MaterialService  extends IService<WmMaterial> {
    ResponseResult upLoadFile(MultipartFile multipartFile);//图片上传
    ResponseResult findList(WmMaterialDto dto);//素材列表
    ResponseResult delPicture(Integer id);//图片删除
    ResponseResult updateStatus(Integer id, Short type);//收藏与取消收藏图片
}
